home *** CD-ROM | disk | FTP | other *** search
- Program: DCcrc
- Package: Part of the DCon Utility Set
- Version: 1.0
- Date: February 6, 1992
- Author: George Spafford
-
- Purpose:
-
- To compare 32-bit file CRC's in a source dir and a target dir.
- If the CRC values differ, then perform an action.
-
- Procedure:
-
- Place DCcrc.EXE in a directory that is in your path. Invoke it as
-
- Dcrc /S:Source /T:Target </D></C>
-
- /S:Source This is the source directory. This can NOT be a
- file specification.
-
- /T:Target This is the target directory that is to be compared
- to the source.
-
- ACTION Tokens:
-
- /D Delete the target file(s).
-
- /C Copy source files to the target directory.
-
- no token Run the DCRC.BAT file. Information will be passed to
- the .BAT file as follows:
-
- %1 Source Path and File
- %2 Target Path
- %3 Target Path and File Name
-
- DCcrc performs a fast 32-bit CRC check of each file in the source and target
- directories. If a CRC value in the target dir does not match the CRC value
- of the file in the source dir, then an action is performed. If a file exists
- in the source dir but not in the target dir, the action will still be performed.
-
- For Example:
-
- DCFILDAT /S:I:\QIWSLFR /T:C:\PCS /C
-
- If the files in I:\QIWSFLR have different CRC values than the files in C:\PCS,
- then they will be copied to C:\PCS.
-
- Say you need a more complex file routine, or you have a homegrown product that
- you would like to use, use the DCRC.BAT file option to run your own set of
- routines if a logical test proves true.
-
- Example DCRC.BAT :
-
- If exist %3 chmod - %3 <- If the target path + File name exists,
- then strip the attributes from it.
- if exist %1 Copy %1 %2 <- If the file exists in the source dir, copy it
- if exist %3 chmod -r %3 <- If the new target file exists, set it to
- read-only.
-
-
- HISTORY:
-
- v1.0 02/06/92
-
- Initial release.
-
- Register Me:
-
- This package is a little different from some utility packages that are on the
- market today. If you only like one or two programs, the individual programs
- can be registered for $5 per concurrently used copy. The bargain (in my
- eyes) is that the whole package is only $20. It is up to you whether or not
- you want the entire package or only specific files. If this package, or one
- of the utilities aids you, you should register your copy. For example, say you
- want DCMAP & DCUPDAY, then you need only send $10. But please, if you use this
- software, register it.
-
- Sincerely,
-
- George Spafford
- 3001 LakeShore Drive, #329
- St. Joseph, MI 49085
-
- Data: (616) 468-5026 Queued Access BBS 14.4Kb USR Dual HST
- FIDOnet: 1:2340/0 NEC/NC Site
- Sysop: Tim Akright
- Over 600+ MB online
-
- NOTE: DCcrc IS A PART OF THE DIRECTORY CONTROL PACKAGE. THE FOLLOWING
- NOTICE PERTAINS TO DCcrc AS WELL.
-
- DIRECTORY CONTROL AND ALL OF ITS COMPONENT FILES ARE DISTRIBUTED AS IS.
- THE AUTHOR (GEORGE SPAFFORD) MAKES NO WARRANTY OF ANY KIND, EXPRESSED OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY OR
- FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THIS SOFTWARE AND
- DOCUMENTATION. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DAMAGES,
- INCLUDING LOST PROFITS, LOST SAVINGS, OR ANY OTHER INCIDENTAL OR
- CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF OR THE INABILITY TO USE
- THIS PROGRAM.
- -------------------------------------------------------------------------
-
-
-
-
-
-